﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 小区物业管理系统
{
    public partial class 小区投诉管理 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
        {

        }

        protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                try
                {
                    LinkButton lnkbtnDelte = (LinkButton)e.Row.Cells[5].Controls[0];
                    lnkbtnDelte.OnClientClick = "return confirm('您真的要删除公告为" + e.Row.Cells[1].Text + "的记录吗？');";
                }
                catch { }
            }
        }
    }
}